<?php
include_once('includes/db.php');
$title=$_POST['title'];
$article=$_POST['article'];
$str="insert into `article` values('','$title','$article')";
$result=mysql_query($str);
if($result)
{
	header("location:article.php");
}
else
{
	echo $str;	
	echo mysql_error();
}

?>
